Optimal. Leaf size=162 \[ \frac {2 i}{11 d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}}+\frac {12 i}{77 a d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{3/2}}+\frac {16 i}{77 a^2 d \sqrt {e \sec (c+d x)} \sqrt {a+i a \tan (c+d x)}}-\frac {32 i \sqrt {a+i a \tan (c+d x)}}{77 a^3 d \sqrt {e \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {3583, 3569}
\begin {gather*} -\frac {32 i \sqrt {a+i a \tan (c+d x)}}{77 a^3 d \sqrt {e \sec (c+d x)}}+\frac {16 i}{77 a^2 d \sqrt {a+i a \tan (c+d x)} \sqrt {e \sec (c+d x)}}+\frac {12 i}{77 a d (a+i a \tan (c+d x))^{3/2} \sqrt {e \sec (c+d x)}}+\frac {2 i}{11 d (a+i a \tan (c+d x))^{5/2} \sqrt {e \sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3569
Rule 3583
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}} \, dx &=\frac {2 i}{11 d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}}+\frac {6 \int \frac {1}{\sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{3/2}} \, dx}{11 a}\\ &=\frac {2 i}{11 d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}}+\frac {12 i}{77 a d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{3/2}}+\frac {24 \int \frac {1}{\sqrt {e \sec (c+d x)} \sqrt {a+i a \tan (c+d x)}} \, dx}{77 a^2}\\ &=\frac {2 i}{11 d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}}+\frac {12 i}{77 a d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{3/2}}+\frac {16 i}{77 a^2 d \sqrt {e \sec (c+d x)} \sqrt {a+i a \tan (c+d x)}}+\frac {16 \int \frac {\sqrt {a+i a \tan (c+d x)}}{\sqrt {e \sec (c+d x)}} \, dx}{77 a^3}\\ &=\frac {2 i}{11 d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{5/2}}+\frac {12 i}{77 a d \sqrt {e \sec (c+d x)} (a+i a \tan (c+d x))^{3/2}}+\frac {16 i}{77 a^2 d \sqrt {e \sec (c+d x)} \sqrt {a+i a \tan (c+d x)}}-\frac {32 i \sqrt {a+i a \tan (c+d x)}}{77 a^3 d \sqrt {e \sec (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.50, size = 102, normalized size = 0.63 \begin {gather*} \frac {i \sec ^3(c+d x) (-55 \cos (c+d x)+35 \cos (3 (c+d x))-22 i \sin (c+d x)+42 i \sin (3 (c+d x)))}{154 a^2 d \sqrt {e \sec (c+d x)} (-i+\tan (c+d x))^2 \sqrt {a+i a \tan (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.88, size = 140, normalized size = 0.86
method | result | size |
default | \(\frac {2 \sqrt {\frac {e}{\cos \left (d x +c \right )}}\, \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, \cos \left (d x +c \right ) \left (28 i \left (\cos ^{6}\left (d x +c \right )\right )+28 \sin \left (d x +c \right ) \left (\cos ^{5}\left (d x +c \right )\right )-9 i \left (\cos ^{4}\left (d x +c \right )\right )+5 \sin \left (d x +c \right ) \left (\cos ^{3}\left (d x +c \right )\right )+2 i \left (\cos ^{2}\left (d x +c \right )\right )+8 \sin \left (d x +c \right ) \cos \left (d x +c \right )-16 i\right )}{77 d e \,a^{3}}\) | \(140\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.56, size = 177, normalized size = 1.09 \begin {gather*} \frac {{\left (7 i \, \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ) + 33 i \, \cos \left (\frac {7}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right ) + 77 i \, \cos \left (\frac {3}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right ) - 77 i \, \cos \left (\frac {1}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right ) + 7 \, \sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ) + 33 \, \sin \left (\frac {7}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right ) + 77 \, \sin \left (\frac {3}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right ) + 77 \, \sin \left (\frac {1}{11} \, \arctan \left (\sin \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right ), \cos \left (\frac {11}{2} \, d x + \frac {11}{2} \, c\right )\right )\right )\right )} e^{\left (-\frac {1}{2}\right )}}{308 \, a^{\frac {5}{2}} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 83, normalized size = 0.51 \begin {gather*} \frac {\sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (-77 i \, e^{\left (8 i \, d x + 8 i \, c\right )} + 110 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 40 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 7 i\right )} e^{\left (-\frac {11}{2} i \, d x - \frac {11}{2} i \, c - \frac {1}{2}\right )}}{308 \, a^{3} d \sqrt {e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {e \sec {\left (c + d x \right )}} \left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.51, size = 118, normalized size = 0.73 \begin {gather*} \frac {\sqrt {\frac {e}{\cos \left (c+d\,x\right )}}\,\left (154\,\sin \left (c+d\,x\right )+33\,\sin \left (3\,c+3\,d\,x\right )+7\,\sin \left (5\,c+5\,d\,x\right )+\cos \left (3\,c+3\,d\,x\right )\,33{}\mathrm {i}+\cos \left (5\,c+5\,d\,x\right )\,7{}\mathrm {i}\right )}{308\,a^2\,d\,e\,\sqrt {\frac {a\,\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,c+2\,d\,x\right )+1}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________